using System;
using System.Collections.Generic;
using System.Text;
using MeetingRoom.Data;
using MeetingRoom.Data.Implementation;
using NUnit.Framework;

namespace MeetingRoom.UnitTest
{
    [TestFixture]
    public class MeetingRoomDaoTest
    {
        public void SetUp()
        {
        }

        public void TearDown()
        {
        }

        [Test]
        public void TestCreate()
        {
            MeetingRoom.Domain.MeetingRoom meetingRoom = new MeetingRoom.Domain.MeetingRoom();
            meetingRoom.Name = "Hello";
            meetingRoom.MeetingRoomType = new MeetingRoom.Domain.MeetingRoomType();
            meetingRoom.MeetingRoomType.Count = 10;
            meetingRoom.MeetingRoomType.Id = 1;
            meetingRoom.Status = MeetingRoom.Domain.MeetingRoomStatus.AVAILABLE;

            ICreate dao = new ScheduleCreate();
            dao.Create(meetingRoom);
        }
    }
}
